CPPSRCS += VideoUI.cpp
CPPSRCS += Video.cpp
CPPSRCS += MediaPlayer.cpp

DEPPATH += --dep-path application
VPATH += :application

CFLAGS += -Iapplication

STAGING_DIR := /home/jumping/workspace/linux/allwinner/tinaLinux/Tina-t113-pro/out/t113-pro/staging_dir/target

FONT_SRC = $(shell find -L $(LVGL_DIR)/application/fonts -name \*.c)
IMAGE_SRC = $(shell find -L $(LVGL_DIR)/application/images -name \*.c)

CSRCS += $(notdir $(FONT_SRC))
CSRCS += $(notdir $(IMAGE_SRC))

VPATH += :$(sort $(dir $(FONT_SRC)))
VPATH += :$(sort $(dir $(IMAGE_SRC)))

CFLAGS += -I$(sort $(dir $(FONT_SRC)))
CFLAGS += -I$(sort $(dir $(IMAGE_SRC)))

CFLAGS += -I$(STAGING_DIR)/usr/include/allwinner/include
CFLAGS += -I$(STAGING_DIR)/usr/include/allwinner
CFLAGS += -I$(STAGING_DIR)/usr/include

CFLAGS += -I/home/jumping/workspace/linux/allwinner/tinaLinux/t113_lib/libfreetype/include
CPPFLAGS += -I/home/jumping/workspace/linux/allwinner/tinaLinux/t113_lib/libfreetype/include
LDFLAGS += -L/home/jumping/workspace/linux/allwinner/tinaLinux/t113_lib/zlib/lib
LDFLAGS += -L/home/jumping/workspace/linux/allwinner/tinaLinux/t113_lib/libfreetype/lib
LDFLAGS += -L/home/jumping/workspace/linux/allwinner/tinaLinux/t113_lib/libpng/lib
LDFLAGS += -L/home/jumping/workspace/linux/allwinner/tinaLinux/t113_lib/brotli/lib
LDFLAGS += -L/home/jumping/workspace/linux/allwinner/tinaLinux/t113_lib/libtplayer/lib

LDFLAGS += -ltplayer -lrt -lfreetype -lpng16 -lbrotlicommon -lbrotlidec -lz
